# Keras

Keras is a multi-backend deep learning framework for building and training machine-learning models.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## High-dimensional limit theorems for adaptive variants of SGD I: Ballistic limits

DevFeed: [High-dimensional limit theorems for adaptive variants of SGD I: Ballistic limits](<https://devfeed.tech/articles/high-dimensional-limit-theorems-for-adaptive-variants-of-sgd-i-ballistic-limits-138828.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.19059>)

Author: Aukosh Jagannath, Varnan Sarangian

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [analogue](<https://devfeed.tech/tags/analogue.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [edge](<https://devfeed.tech/tags/edge.md>), [effective](<https://devfeed.tech/tags/effective.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [layer](<https://devfeed.tech/tags/layer.md>), [learning](<https://devfeed.tech/tags/learning.md>), [limit](<https://devfeed.tech/tags/limit.md>), [limits](<https://devfeed.tech/tags/limits.md>), [markov](<https://devfeed.tech/tags/markov.md>), [math-pr](<https://devfeed.tech/tags/math-pr.md>), [math-st](<https://devfeed.tech/tags/math-st.md>), [models](<https://devfeed.tech/tags/models.md>), [momentum](<https://devfeed.tech/tags/momentum.md>), [moving](<https://devfeed.tech/tags/moving.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [stat-th](<https://devfeed.tech/tags/stat-th.md>)

### AI overview

The work derives Markov effective dynamics for high-dimensional adaptive, momentum-based SGD by using averaging to handle non-Markovian effects from exponential moving averages and preconditioning. The framework covers ADAM, MUON and variants across tasks including tensor PCA, Gaussian projective models, teacher-student networks and XOR training with a hybrid MUON-ADAM setup. The authors report quantitative algorithm comparisons, including a regime where online SGD generalizes better early in training before ADAM overtakes it, and prove a version of Edge of Stability characterized using an analogue of the infinity Laplacian.

### Source excerpt

arXiv:2611.19059v1 Announce Type: cross Abstract: We develop the high-dimensional effective dynamics for adaptive, momentum-based variants of Stochastic Gradient Descent (SGD). These effective dynamics are given by a Markov process. They key observation is that the non-Markovianity in the algorithm due to the exponential moving average and preconditioning can be treated using the method of averaging. Our approach applies to a broad class of algorithms including to Adaptive momentum estimation (ADAM), Momentum orthogonalized by Newton-Schultz (MUON), and its variants. It also applies to a broad class of learning tasks, such at tensor PCA, Gaussian projective models, teacher-student networks, and a multi-layer neural network trained on the XOR problem using a hybrid of MUON and ADAM as commonly done in practice. We demonstrate how to this technique can give precise, quantitative comparisons between algorithms. In particular, we find interesting phenomena, such as the cross-over phenomenon where online SGD has better generalization than ADAM early in training until the learning curves cross and ADAM dominates. Furthermore, we prove a version of the Edge of Stability phenomenon. In particular, we introduce an analogue of the infinity Laplacian that sharply characterizes the Edge of Stability.

## Reliable Near-Field Source Enumeration and Positioning Informed by Two-Stage MUSIC

DevFeed: [Reliable Near-Field Source Enumeration and Positioning Informed by Two-Stage MUSIC](<https://devfeed.tech/articles/reliable-near-field-source-enumeration-and-positioning-informed-by-two-stage-music-133031.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.15722>)

Author: Jiaying Li, Haifeng Wen, Changsheng You, Yuanwei Liu, Hong Xing

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [communications](<https://devfeed.tech/topics/communications.md>), [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [conformal-prediction](<https://devfeed.tech/tags/conformal-prediction.md>), [cs-it](<https://devfeed.tech/tags/cs-it.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [eess-sp](<https://devfeed.tech/tags/eess-sp.md>), [enumeration](<https://devfeed.tech/tags/enumeration.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [localization](<https://devfeed.tech/tags/localization.md>), [math-it](<https://devfeed.tech/tags/math-it.md>), [multipath](<https://devfeed.tech/tags/multipath.md>), [music](<https://devfeed.tech/tags/music.md>), [positioning](<https://devfeed.tech/tags/positioning.md>), [regions](<https://devfeed.tech/tags/regions.md>), [signal](<https://devfeed.tech/tags/signal.md>), [subspace](<https://devfeed.tech/tags/subspace.md>), [training](<https://devfeed.tech/tags/training.md>), [uncertainty](<https://devfeed.tech/tags/uncertainty.md>), [wireless](<https://devfeed.tech/tags/wireless.md>)

### AI overview

For near-field localization with coherent multipath, the paper combines risk-controlled source enumeration with direct line-of-sight positioning and calibrated uncertainty regions. Its conformal risk control scheme calibrates an eigenvalue-criterion penalty to target a prescribed expected miss-detection ratio. MUSIC-Net uses two-stage MUSIC with subspace-distance training to learn a line-of-sight-related subspace and surrogate distances, avoiding non-line-of-sight path estimation and later path association. A split conformal method produces angle-range regions with finite-sample simultaneous coverage guarantees. The abstract reports that numerical results control source underestimation risk and improve positioning accuracy with tighter regions than benchmarks at the same target coverage.

### Source excerpt

arXiv:2611.15722v1 Announce Type: cross Abstract: Accurate and reliable near-field multi-source localization is essential for location-aware processing in future wireless systems. However, coherent multipath propagation complicates the direct recovery of line-of-sight (LoS) source positions, while existing estimation methods generally lack explicit control of the risk of source underestimation and positioning uncertainty. In this paper, we investigate reliable source enumeration and positioning in near-field coherent multipath environments. Specifically, we develop a conformal risk control (CRC) based source enumeration scheme that calibrates the penalty coefficient of an eigenvalue-based criterion to control the expected miss-detection ratio at a prescribed level. We further propose MUSIC-Net, a model-based deep learning framework informed by two-stage MUltiple SIgnal Classification (MUSIC), which learns the LoS-related subspace and surrogate distances through subspace-distance-based training, thereby enabling direct source positioning without estimating non-line-of-sight (NLoS) path parameters or performing subsequent path association. To quantify the uncertainty of the estimated positions, we develop a split conformal prediction (SCP) based calibration method that constructs angle-range predicted regions with finite-sample simultaneous coverage guarantees. Numerical results show that the proposed framework effectively controls the risk of source underestimation, while providing improved positioning accuracy with tighter predicted regions than benchmarks given the same target coverage levels.

## A Unified Interpretable Semantic Framework for Multi-Modal Fiber Sensing Under Data Scarcity

DevFeed: [A Unified Interpretable Semantic Framework for Multi-Modal Fiber Sensing Under Data Scarcity](<https://devfeed.tech/articles/a-unified-interpretable-semantic-framework-for-multi-modal-fiber-sensing-under-data-scarcity-133065.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.16027>)

Author: Khouloud Abdelli

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [acoustic-sensing](<https://devfeed.tech/tags/acoustic-sensing.md>), [class](<https://devfeed.tech/tags/class.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-sy](<https://devfeed.tech/tags/cs-sy.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [eess-sy](<https://devfeed.tech/tags/eess-sy.md>), [energy](<https://devfeed.tech/tags/energy.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [fiber](<https://devfeed.tech/tags/fiber.md>), [framework](<https://devfeed.tech/tags/framework.md>), [inference](<https://devfeed.tech/tags/inference.md>), [maps](<https://devfeed.tech/tags/maps.md>), [measurements](<https://devfeed.tech/tags/measurements.md>), [optical](<https://devfeed.tech/tags/optical.md>), [over](<https://devfeed.tech/tags/over.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [physics](<https://devfeed.tech/tags/physics.md>), [polarization](<https://devfeed.tech/tags/polarization.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [robust](<https://devfeed.tech/tags/robust.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [sensing](<https://devfeed.tech/tags/sensing.md>)

### AI overview

The framework maps SOP, DAS, and OTDR measurements to shared, physics-grounded descriptors of impulsiveness, persistence, structure, and energy concentration, then infers classes by reasoning over semantic profiles. Retrieval of similar examples can optionally help resolve ambiguity and support adaptation without retraining. On real datasets, reported accuracies were 95.0% for SOP, 91.1% for DAS, and 94.6% for OTDR, with transparent, physically interpretable decisions. The supplied abstract does not specify dataset sizes or evaluation details.

### Source excerpt

arXiv:2611.16027v1 Announce Type: new Abstract: We propose a unified interpretable semantic framework for multi-modal fiber sensing under data scarcity. The framework maps heterogeneous measurements from state of-polarization (SOP) monitoring, distributed acoustic sensing (DAS), and optical time-domain reflectometry (OTDR) into a shared set of physics-grounded semantic descriptors capturing impulsiveness, persistence, structural characteristics, and energy concentration. Inference is performed through reasoning over semantic class profiles, optionally assisted by retrieval of semantically similar examples to resolve ambiguity and support adaptation without model retraining. Experimental validation on real SOP, DAS, and OTDR datasets demonstrates robust performance across sensing modalities, achieving accuracies of 95.0%, 91.1%, and 94.6%, respectively, while providing transparent and physically interpretable decisions. The proposed framework establishes a unified and data efficient approach for optical fiber sensing in evolving and data scarce deployment environments.

## Understanding Sample Efficiency in Predictive Coding

DevFeed: [Understanding Sample Efficiency in Predictive Coding](<https://devfeed.tech/articles/understanding-sample-efficiency-in-predictive-coding-128529.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.11911>)

Author: Gaspard Oliviers, Elene Lominadze, Rafal Bogacz

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Predictive AI](<https://devfeed.tech/topics/predictive-ai.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>)

Tags: [alignment](<https://devfeed.tech/tags/alignment.md>), [backpropagation](<https://devfeed.tech/tags/backpropagation.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deep](<https://devfeed.tech/tags/deep.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [models](<https://devfeed.tech/tags/models.md>), [pc](<https://devfeed.tech/tags/pc.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [sample](<https://devfeed.tech/tags/sample.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Predictive Coding (PC) shows greater learning efficiency than Backpropagation (BP), especially in deep, narrow, and pre-trained networks. The work measures efficiency through "target alignment," the alignment between a network's output change and its prediction error, and derives and empirically validates analytical expressions for this metric in deep linear networks. It also identifies conditions for optimal alignment in PC. Experiments on full training trajectories of linear and nonlinear models suggest the predicted benefits persist when some assumptions are violated. The analysis offers a mechanistic account of PC's efficiency advantage and guidance for parameterizing PC, though the supplied abstract does not specify those parameter settings.

### Source excerpt

arXiv:2605.11911v3 Announce Type: replace Abstract: Predictive Coding (PC) is an influential account of cortical learning. Much of recent work has focused on comparing PC to Backpropagation (BP) to find whether PC offers any advantages. Small scale experiments show that PC enables learning that is more sample efficient and effective in many contexts, though a thorough theoretical understanding of the phenomena remains elusive. To address this, we quantify the efficiency of learning in BP and PC through a metric called ``target alignment'', which measures how closely the change in the output of the network is aligned to the output prediction error. We then derive and empirically validate analytical expressions for target alignment in Deep Linear Networks. We show that learning in PC is more efficient than BP, which is especially pronounced in deep, narrow and pre-trained networks. We also derive exact conditions for guaranteed optimal target alignment in PC and validate our findings through experiments. We study full training trajectories of linear and non-linear models, and find the predicted benefits of PC persist in practice even when some assumptions are violated. Overall, this work provides a mechanistic understanding of the higher learning efficiency observed for PC over BP in previous works, and can guide how PC should be parametrised to learn most effectively.

## Hierarchical Multi-Channel Tip-Over Prediction via Isolated Temporal Models for Planetary Rover Safety

DevFeed: [Hierarchical Multi-Channel Tip-Over Prediction via Isolated Temporal Models for Planetary Rover Safety](<https://devfeed.tech/articles/hierarchical-multi-channel-tip-over-prediction-via-isolated-temporal-models-for-planetary-rover-safety-125537.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.12261>)

Author: Siddhant Shete, Raul Dominguez, Frank Kirchner

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [actions](<https://devfeed.tech/tags/actions.md>), [arbitration](<https://devfeed.tech/tags/arbitration.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [based](<https://devfeed.tech/tags/based.md>), [combined](<https://devfeed.tech/tags/combined.md>), [communication](<https://devfeed.tech/tags/communication.md>), [component](<https://devfeed.tech/tags/component.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-ro](<https://devfeed.tech/tags/cs-ro.md>), [decision](<https://devfeed.tech/tags/decision.md>), [early-warning](<https://devfeed.tech/tags/early-warning.md>), [emergency](<https://devfeed.tech/tags/emergency.md>), [environments](<https://devfeed.tech/tags/environments.md>), [event](<https://devfeed.tech/tags/event.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [safety](<https://devfeed.tech/tags/safety.md>), [temporal](<https://devfeed.tech/tags/temporal.md>), [tip](<https://devfeed.tech/tags/tip.md>)

### AI overview

The framework combines two isolated prediction channels for rover tip-over safety: a multi-horizon Temporal Convolutional Network (TCN) tracks gradual instability from inertial measurements, while a Gated Recurrent Unit (GRU) forward dynamics model flags unexpected motion through prediction residuals. Decision-level fusion and priority-based arbitration produce graded responses, including early warning and emergency braking. Deployed as an Orocos Real-Time Toolkit component in the Rock robotics framework at 100 Hz, it achieved 97.58% event prediction coverage and a 1.82-second median lead time on IMU samples across heterogeneous terrains, outperforming either channel alone. These results are reported in the supplied abstract.

### Source excerpt

arXiv:2611.12261v1 Announce Type: cross Abstract: Reliable tip-over prevention is critical for planetary rovers operating in unstructured environments where communication delays prevent real-time human intervention. Existing learning-based approaches typically optimize a single prediction objective, limiting their ability to capture both gradual instability evolution and abrupt terrain disturbances. This work presents a hierarchical multi-channel tip-over prediction framework based on isolated temporal learning. A multi-horizon Temporal Convolutional Network (TCN) learns progressive instability patterns from inertial measurements, while a Gated Recurrent Unit (GRU)-based forward dynamics model predicts nominal rover motion and detects unexpected dynamic deviations through prediction residuals. These complementary signals are integrated through decision-level fusion and priority-based arbitration to generate graded safety actions, including early warning and emergency braking. The proposed system is deployed as an Orocos Real-Time Toolkit (RTT)-based safety component within the Rock robotics framework, operating at 100 Hz on a planetary rover software stack. Experiments on Inertial Measurement Unit (IMU) samples collected across heterogeneous terrains demonstrate 97.58% event prediction coverage with a 1.82s median lead time, outperforming individual prediction channels. The results validate that isolated temporal models combined through hierarchical decision fusion provide a robust solution for real-time rover safety in uncertain terrain.

## MixRoute: Rethinking Single-Distribution Training for Generalizable Neural Routing

DevFeed: [MixRoute: Rethinking Single-Distribution Training for Generalizable Neural Routing](<https://devfeed.tech/articles/mixroute-rethinking-single-distribution-training-for-generalizable-neural-routing-125489.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11977>)

Author: Hang Yi, Ziwei Huang, Yining Ma, Zhiguang Cao

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [combinatorial-optimization](<https://devfeed.tech/tags/combinatorial-optimization.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [meta](<https://devfeed.tech/tags/meta.md>), [neural](<https://devfeed.tech/tags/neural.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [problems](<https://devfeed.tech/tags/problems.md>), [routing](<https://devfeed.tech/tags/routing.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [time](<https://devfeed.tech/tags/time.md>), [training](<https://devfeed.tech/tags/training.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

### AI overview

MixRoute uses Mix Normalization, which adaptively combines normalization statistics at different granularities, to improve neural routing models' zero-shot generalization across distribution shifts. The authors benchmark three routing problems across 179 datasets varying in node coordinates, demands, capacity, and time windows. Trained only on uniform distributions, MixRoute reportedly generalizes to unseen distributions without distribution-specific adaptation and achieves state-of-the-art zero-shot results. The supplied abstract presents this as a simpler alternative to multi-distribution training or meta-learning; it does not include detailed results or comparisons.

### Source excerpt

arXiv:2611.11977v1 Announce Type: new Abstract: Neural Combinatorial Optimization (NCO) is a promising paradigm for solving routing problems, yet its generalization across diverse data distributions remains a critical bottleneck. Existing methods typically tackle cross-distribution generalization through complex multi-distribution training or intricate meta-learning schemes, implicitly presuming that single-distribution training yields a weak zero-shot baseline. In this paper, we demonstrate that the potential of single-distribution training has been substantially underestimated and can be unlocked by a simple architectural inductive bias: Mix Normalization. To approach this, we first construct a comprehensive benchmark spanning three representative routing problems and 179 fine-grained datasets, capturing diverse shifts in node coordinates, customer demands, capacity and time windows. Building on this benchmark, we propose MixRoute, a neural framework that adaptively combines normalization statistics at different granularities to mitigate varying distribution shifts. Trained exclusively on uniform distributions, MixRoute generalizes effectively to a wide range of unseen distributions without any distribution-specific adaptation. Extensive experiments demonstrate that MixRoute consistently achieves state-of-the-art zero-shot generalization. Our work revisits normalization as a parsimonious alternative for zero-shot generalization against complex training-adaptation schemes.

## Discrimination, Calibration, and Ranking: A Unified Matrix Framework

DevFeed: [Discrimination, Calibration, and Ranking: A Unified Matrix Framework](<https://devfeed.tech/articles/discrimination-calibration-and-ranking-a-unified-matrix-framework-114665.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02215>)

Author: Ronaldo Cristiano Prati, Farangis Johari

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [aggregation](<https://devfeed.tech/tags/aggregation.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [discrimination](<https://devfeed.tech/tags/discrimination.md>), [framework](<https://devfeed.tech/tags/framework.md>), [lean](<https://devfeed.tech/tags/lean.md>), [lean-4](<https://devfeed.tech/tags/lean-4.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [specificity](<https://devfeed.tech/tags/specificity.md>)

### AI overview

The paper extends an indicator-matrix framework for classifier evaluation to calibration and ranking using deviation operators and rank- or slice-dependent cell operators, with micro, macro, and exemplar aggregation. For calibration, the three Brier aggregations reduce to one scalar, and the Murphy decomposition is expressed in matrix form. In a Brier-type class-indexed family, skew invariance is equivalent to dependence only on class-conditional errors. For ranking, raw DCG collapses across aggregations but nDCG does not; per-class nDCG and AUC have a row-column duality, while micro-AUC differs from pooled ROC-AUC. Raw positional scores are never strictly proper, and nDCG and AUC are not necessarily proper. The abstract reports experiments on two multilabel benchmarks and says many results are machine-checked in Lean 4.

### Source excerpt

arXiv:2611.02215v1 Announce Type: new Abstract: Discrimination, calibration, and ranking are the three pillars of classifier evaluation, yet no single algebraic language spans all three. A recent indicator-matrix account unifies discrimination measures (precision, recall, F1, Matthews correlation) across binary, multiclass, multilabel and related settings, using Boolean cell operations on indicator label matrices, generalised to soft labels by t-norms. Calibration measures (Brier score, log-loss) and ranking measures (nDCG, AUC) fall outside it. We close the gap with two further classes of cell operators: deviation operators phi(y - yhat), which give a Calibration Framework, and rank- and slice-dependent operators (positional gains for DCG, column concordance cells for AUC), which give a Ranking Framework. Both inherit the micro/macro/exemplar aggregation architecture. For calibration, the three Brier aggregations collapse to one scalar; the Murphy decomposition holds in matrix form (unbinned, binned and isotonic); and, within the Brier-type class-indexed family, a measure is skew-invariant if and only if it depends only on the class-conditional errors alpha_j and beta_j, the calibration analogues of recall and specificity. For ranking, raw DCG collapses across aggregations while nDCG does not; per-class nDCG and per-class AUC are related by a row-column duality; micro-AUC differs from pooled ROC-AUC; raw positional scores are never strictly proper, and nDCG and AUC need not be proper. The skew-invariant per-class building blocks share one class-conditional expectation template. Experiments on two multilabel benchmarks illustrate the distinctions. Many of the results are machine-checked in Lean 4; the proofs, the experiments and the aggmetrics.scores package are public: https://github.com/rcprati/discrimination-calibration-ranking

## Predicate Neuron: Differentiable Quantization of Predicate Relations in Gradient-based Learning

DevFeed: [Predicate Neuron: Differentiable Quantization of Predicate Relations in Gradient-based Learning](<https://devfeed.tech/articles/predicate-neuron-differentiable-quantization-of-predicate-relations-in-gradient-based-learning-107956.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37727>)

Author: Ioannis Konstantoulas, Iliana Loi, Kyriakos Sgarbas

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>)

Tags: [backpropagation](<https://devfeed.tech/tags/backpropagation.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [convergence](<https://devfeed.tech/tags/convergence.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [deep-neural-networks](<https://devfeed.tech/tags/deep-neural-networks.md>), [fully-connected](<https://devfeed.tech/tags/fully-connected.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [keras](<https://devfeed.tech/tags/keras.md>), [learning](<https://devfeed.tech/tags/learning.md>), [logic](<https://devfeed.tech/tags/logic.md>), [logical](<https://devfeed.tech/tags/logical.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mechanism](<https://devfeed.tech/tags/mechanism.md>), [module](<https://devfeed.tech/tags/module.md>), [native](<https://devfeed.tech/tags/native.md>), [networks](<https://devfeed.tech/tags/networks.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [neuron](<https://devfeed.tech/tags/neuron.md>), [predicate](<https://devfeed.tech/tags/predicate.md>), [quantization](<https://devfeed.tech/tags/quantization.md>)

### AI overview

The Native Predicate Neuron adds differentiable first-order logic reasoning to standard neural networks. A single trainable parameter selects between relational operations; a dual-nature gradient mechanism executes hard logical operations during training while preserving differentiability for backpropagation. Quantizing both inputs and the choice state is intended to help approximate continuous and discontinuous functions. The abstract reports evaluations in fully connected, convolutional, recurrent, and Transformer architectures on MNIST and Wikitext, with generally faster convergence, higher accuracy, and lower loss, and stronger gains on tasks involving monotonic reasoning or discontinuities. Implementations are available in Keras and PyTorch. These are abstract-level claims; specific benchmark results and limitations are not provided.

### Source excerpt

arXiv:2610.37727v1 Announce Type: cross Abstract: In machine learning, symbolic reasoning approaches often rely on static architectures that hinder integration into deep neural networks and gradient-based optimization. To address this, we introduce the Native Predicate Neuron, a differentiable logic-reasoning neural module that enriches standard architectures with symbolic reasoning capabilities via first-order logic quantization. The proposed neuron models relational logic by learning to alternate between operations using a single trainable parameter. It features a tailored gradient mechanism with a dual-nature formulation: executing hard logical operations during training while maintaining differentiability for backpropagation. By quantizing both its input and choice state, the Predicate Neuron approximates continuous and non-continuous functions, effectively resolving discontinuities that standard deep learning architectures struggle with. We evaluate the Predicate Neuron across Fully-Connected, Convolutional, Recurrent, and Transformer architectures on benchmarks like MNIST and Wikitext. Results show that incorporating Predicate Neurons accelerates convergence, boosts accuracy, and lowers loss in general, with particularly strong improvements in tasks requiring monotonic reasoning or handling discontinuities. Overall, the Predicate Neuron natively integrates into standard neural networks to enable fuzzy logic operations and is available in Keras and PyTorch.

## Multi-Variable Conformal Prediction: Optimizing Prediction Sets using Multiple Calibration Variables

DevFeed: [Multi-Variable Conformal Prediction: Optimizing Prediction Sets using Multiple Calibration Variables](<https://devfeed.tech/articles/multi-variable-conformal-prediction-optimizing-prediction-sets-using-multiple-calibration-variables-103777.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.12341>)

Author: Laura L\\"utzow, Simone Garatti, Marco C. Campi, Lars Lindemann, Matthias Althoff

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>), [Combinatorial optimization](<https://devfeed.tech/topics/combinatorial-optimization.md>)

Tags: [conformal-prediction](<https://devfeed.tech/tags/conformal-prediction.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>)

### AI overview

Multi-variable conformal prediction (MCP) jointly optimizes and calibrates several prediction-set parameters, avoiding the data split used to set shape in split conformal prediction while retaining finite-sample coverage guarantees. Its two scenario-theory-based variants make different tradeoffs: RemMCP uses constrained optimization with constraint removal and generalizes split conformal prediction; RelMCP uses penalized optimization with constraint relaxation, supports non-convex problems, and costs more computationally. In experiments with ellipsoidal and multi-modal sets, RemMCP and a heuristic adaptive RelMCP met target coverage, showed lower variation across calibration runs than split-calibration baselines, and produced smaller or comparable sets in most settings.

### Source excerpt

arXiv:2605.12341v2 Announce Type: replace-cross Abstract: Split conformal prediction constructs prediction sets with finite-sample coverage guarantees, but its calibration stage is limited to adjusting a single threshold parameter. Hence, the shape of the prediction sets must be fixed beforehand, typically by fitting it on a reserved part of the calibration data. We introduce multi-variable conformal prediction (MCP), a framework that jointly optimizes and calibrates multiple prediction-set parameters in a single optimization problem, eliminating calibration data split without sacrificing finite-sample coverage guarantees. Building on scenario theory, a principled framework for certifying data-driven decisions, we propose two tractable variants: RemMCP, grounded in constrained optimization with constraint removal, which generalizes split conformal prediction; and RelMCP, based on penalized optimization with constraint relaxation, which also supports non-convex problems, albeit at a higher computational cost. In experiments with ellipsoidal and multi-modal prediction sets, RemMCP and a heuristic, adaptive version of RelMCP consistently meet the target coverage, with lower variance across calibration runs than baselines with calibration data split, and in most settings with smaller or comparable prediction sets.

## In a pickle: Why every pickle defense in machine learning is bypassed the same way

DevFeed: [In a pickle: Why every pickle defense in machine learning is bypassed the same way](<https://devfeed.tech/articles/in-a-pickle-why-every-pickle-defense-in-machine-learning-is-bypassed-the-same-way-102875.md>)

Original publisher: [Read original article](<https://webflow.sysdig.com/blog/in-a-pickle-why-every-pickle-defense-in-machine-learning-is-bypassed-the-same-way>)

Author: Lydia Graslie

Published: 2026-10-27T00:00:00Z

Content type: article

Language: en

Sources: [Sysdig](<https://devfeed.tech/sources/sysdig-blog.md>)

Topics: [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [MLOps](<https://devfeed.tech/topics/mlops.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>)

Tags: [ai-supply-chain-security](<https://devfeed.tech/tags/ai-supply-chain-security.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [blast-radius](<https://devfeed.tech/tags/blast-radius.md>), [bypass](<https://devfeed.tech/tags/bypass.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [cve-2025-32434](<https://devfeed.tech/tags/cve-2025-32434.md>), [cve-2026-24747](<https://devfeed.tech/tags/cve-2026-24747.md>), [falco](<https://devfeed.tech/tags/falco.md>), [keras](<https://devfeed.tech/tags/keras.md>), [keras-safe-mode-bypass](<https://devfeed.tech/tags/keras-safe-mode-bypass.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [malicious-pickle-files](<https://devfeed.tech/tags/malicious-pickle-files.md>), [ml-model-security](<https://devfeed.tech/tags/ml-model-security.md>), [nullifai](<https://devfeed.tech/tags/nullifai.md>), [pickle-deserialization](<https://devfeed.tech/tags/pickle-deserialization.md>), [picklescan](<https://devfeed.tech/tags/picklescan.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [pytorch-weights-only-bypass](<https://devfeed.tech/tags/pytorch-weights-only-bypass.md>), [runtime-detection](<https://devfeed.tech/tags/runtime-detection.md>), [safetensors](<https://devfeed.tech/tags/safetensors.md>), [sysdig-secure](<https://devfeed.tech/tags/sysdig-secure.md>)

### AI overview

Python pickle files are executable programs: loading one can run code through its reconstruction instructions, even if the file is malformed after the payload. The excerpt describes six documented bypasses across PyTorch restricted loading, Keras safe_mode, and picklescan; the common weakness is that scanners and loaders interpret the same bytes differently. It identifies safetensors as structurally unable to express a callable, while GGUF and ONNX have no known code execution path but are not presented as proven safe. For models that still require pickle, the recommended layers are current loader versions (PyTorch 2.10.0+; reject legacy Keras .h5; keep NumPy allow_pickle=False), CI scanning, provenance checks, sandboxed loading with restricted egress and no valuable credentials, and runtime monitoring. Runtime monitoring observes downstream effects rather than deserialization itself: the test found all five gadget families triggered Sysdig Secure and four triggered Falco 0.44.1 defaults, with the tested rules detecting activity such as file reads or outbound connections, not the pickle load.

### Source excerpt

Six documented bypasses beat PyTorch weights_only, Keras safe_mode, and picklescan. See which ML formats are safe and what runtime detection catches.

## Multi-Task Learning for Metal Alloy Property Prediction: An Empirical Study of Negative Transfer and Mitigation Strategies

DevFeed: [Multi-Task Learning for Metal Alloy Property Prediction: An Empirical Study of Negative Transfer and Mitigation Strategies](<https://devfeed.tech/articles/multi-task-learning-for-metal-alloy-property-prediction-an-empirical-study-of-negative-transfer-and-mitigation-strategies-99383.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2512.22740>)

Author: Sungwoo Kang

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>)

Tags: [alloy](<https://devfeed.tech/tags/alloy.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [materials-science](<https://devfeed.tech/tags/materials-science.md>), [metal](<https://devfeed.tech/tags/metal.md>), [mitigation](<https://devfeed.tech/tags/mitigation.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [property](<https://devfeed.tech/tags/property.md>)

### AI overview

On a 54,028-sample metal alloy dataset with extreme task imbalance, multi-task learning (MTL) hurt regression performance for resistivity and hardness but improved recall for amorphous-forming ability. The abstract attributes the split to differing property relationships and gradient misalignment. PCGrad recovered single-task performance; label distribution smoothing combined with gradient normalization gave the best overall balance. The authors suggest independent models for high-precision characterization and MTL for high-throughput screening when recall matters. This overview is based on the supplied abstract, not full paper text.

### Source excerpt

arXiv:2512.22740v4 Announce Type: replace Abstract: Multi-task learning (MTL) in materials science relies on the assumption that physically related properties share learnable representations. We challenge this assumption using a 54,028-sample metal alloy dataset exhibiting extreme task-level imbalance. Our results reveal a striking dichotomy: MTL significantly degrades regression performance for resistivity and hardness but improves classification recall for amorphous-forming ability. We trace this divergence to mismatched functional forms--such as resistivity's polynomial dependence versus hardness's complex interactions--which cause severe gradient misalignment during optimization. Evaluating Deep Imbalanced Regression techniques, we find that projecting conflicting gradients (PCGrad) recovers single-task performance, while combining label distribution smoothing with gradient normalization achieves the best overall balance. Consequently, we propose a strategic framework: utilize independent models for high-precision characterization, but employ MTL for high-throughput screening where recall is paramount. These findings support a "materials property clustering" hypothesis, suggesting that distinct physical mechanisms require specialized optimization strategies to overcome negative transfer.

## CodeJeNN: A simple C++ neural network generator for physics applications

DevFeed: [CodeJeNN: A simple C++ neural network generator for physics applications](<https://devfeed.tech/articles/codejenn-a-simple-c-neural-network-generator-for-physics-applications-99432.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.02746>)

Author: Jay Arcities, Pavel Popov, Eric J Ching, Kamal Viswanath, Ryan F Johnson

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [air](<https://devfeed.tech/tags/air.md>), [applications](<https://devfeed.tech/tags/applications.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [based](<https://devfeed.tech/tags/based.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [bottlenecks](<https://devfeed.tech/tags/bottlenecks.md>), [but](<https://devfeed.tech/tags/but.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [can](<https://devfeed.tech/tags/can.md>), [cfd](<https://devfeed.tech/tags/cfd.md>), [code](<https://devfeed.tech/tags/code.md>), [computational-fluid-dynamics](<https://devfeed.tech/tags/computational-fluid-dynamics.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [generator](<https://devfeed.tech/tags/generator.md>), [network](<https://devfeed.tech/tags/network.md>), [neural](<https://devfeed.tech/tags/neural.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [physics](<https://devfeed.tech/tags/physics.md>), [physics-comp-ph](<https://devfeed.tech/tags/physics-comp-ph.md>), [simple](<https://devfeed.tech/tags/simple.md>)

### AI overview

CodeJeNN converts trained Keras models into self-contained C++ inference code, inlining functions to avoid external dependencies and ease integration into C++ physics solvers. The supplied abstract says it describes the conversion workflow, supported architectures, and limitations, and reports benchmarks against Keras eager and optimized inference. It also demonstrates neural-network viscosity modeling in a CFD simulation of a hydrogen-air mixing layer. The excerpt characterizes the integration as direct, efficient, and accurate but provides no benchmark figures or specific architecture and limitation details.

### Source excerpt

arXiv:2607.02746v3 Announce Type: replace-cross Abstract: Machine learning has shown promise for physics applications, but integrating Python-based libraries into high-performance C++ solvers can create performance bottlenecks. We present CodeJeNN, which addresses this gap by auto-generating self-contained C++ code from trained Keras models for inference. This eliminates external dependencies through inlined functions, allowing seamless integration into existing frameworks. We describe the Keras-to-C++ workflow, supported architectures, and limitations. CodeJeNN is demonstrated through inference benchmarks against Keras (eager and optimized) and a computational fluid dynamics (CFD) simulation of a hydrogen-air mixing layer in which viscosity is modeled using a neural network, showing that the generated models integrate directly into a solver while remaining efficient and accurate.

## MLOps for edge AI: Keeping models accurate over time

DevFeed: [MLOps for edge AI: Keeping models accurate over time](<https://devfeed.tech/articles/mlops-for-edge-ai-keeping-models-accurate-over-time-101464.md>)

Original publisher: [Read original article](<https://www.redhat.com/en/blog/mlops-edge-ai-keeping-models-accurate-over-time>)

Author: Luis Javier Arizmendi Alonso

Published: 2026-10-26T00:00:00Z

Content type: article

Language: en

Sources: [Red Hat Blog](<https://devfeed.tech/sources/red-hat-blog.md>)

Topics: [MLOps](<https://devfeed.tech/topics/mlops.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Federated Learning](<https://devfeed.tech/topics/federated-learning.md>), [model-serving](<https://devfeed.tech/topics/model-serving.md>), [ML model versioning](<https://devfeed.tech/topics/ml-model-versioning.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Continuous Delivery (CD)](<https://devfeed.tech/topics/continuous-delivery.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [versioning](<https://devfeed.tech/topics/versioning.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [version-control](<https://devfeed.tech/topics/version-control.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assisted](<https://devfeed.tech/tags/ai-assisted.md>), [ai-workloads](<https://devfeed.tech/tags/ai-workloads.md>), [amazon-simple-storage-service-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-s3.md>), [annotation](<https://devfeed.tech/tags/annotation.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-kafka](<https://devfeed.tech/tags/apache-kafka.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [edge](<https://devfeed.tech/tags/edge.md>), [edge-ai](<https://devfeed.tech/tags/edge-ai.md>), [fleet](<https://devfeed.tech/tags/fleet.md>), [inference](<https://devfeed.tech/tags/inference.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [model](<https://devfeed.tech/tags/model.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Deployed edge models can keep running while their predictions quietly become less accurate, so maintaining them requires AI-specific observability and a feedback loop for collecting, labeling, and retraining with production data. The article distinguishes data drift, which may call for fine-tuning; concept drift, which may require broader retraining or new labels; and training-serving skew, which retraining alone cannot fix. It describes local metric summaries and selective capture, labeling through operator corrections, temporal tracking, pseudo-labeling, or human review, and store-and-forward delivery to central storage. Kafka offers persistence and replay but needs more resources and operational complexity; MQTT is lighter, with delivery and retention depending on configuration and without Kafka-style replay. Where raw data cannot leave a site, federated learning shares model updates but requires local training capacity, while LoRA adapts transformer models with small site-specific parameter sets. The account presents these as approaches and tradeoffs, not a universal deployment prescription.

### Source excerpt

If you followed Part 1, Part 2, and Part 3 of this edge AI machine learning operations (MLOps) series, you've seen how a model goes from training and optimization through packaging, signing, and deployment across an edge fleet. We've reached a point where the model is now running and responding to inference requests, the infrastructure is healthy, and the operations team has visibility into device status. But there's still a challenge to solve, and it's not an easy one. We're talking about a question that determines whether an edge AI investment retains its value over a multi-year horizon: Wha

## Decoding cosmic signals with deep learning and Keras

DevFeed: [Decoding cosmic signals with deep learning and Keras](<https://devfeed.tech/articles/decoding-cosmic-signals-with-deep-learning-and-keras-4207.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/decoding-cosmic-signals-with-deep-learning-and-keras/>)

Author: Yufeng Guo; Jonas Glombitza, PhD

Published: 2026-09-12T11:04:33.891311Z

Content type: article

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [data](<https://devfeed.tech/tags/data.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [keras](<https://devfeed.tech/tags/keras.md>), [particle-physics](<https://devfeed.tech/tags/particle-physics.md>), [physics](<https://devfeed.tech/tags/physics.md>), [research](<https://devfeed.tech/tags/research.md>)

### AI overview

The article explains how deep learning and Keras can help analyze the enormous, complex datasets produced by astroparticle-physics observatories. These methods may improve instrument sensitivity, reveal hidden patterns, and identify anomalies in signals from cosmic messengers such as photons, neutrinos, and cosmic rays.

### Source excerpt

Astroparticle physics sits at the exciting intersection of astrophysics and particle physics and stu...

## How Keras 3 Helped Modernise Expedia Group's Lodging Ranking Stack

DevFeed: [How Keras 3 Helped Modernise Expedia Group's Lodging Ranking Stack](<https://devfeed.tech/articles/how-keras-3-helped-modernise-expedia-group-s-lodging-ranking-stack-19734.md>)

Original publisher: [Read original article](<https://medium.com/expedia-group-tech/how-keras-3-helped-modernise-expedia-groups-lodging-ranking-stack-7fec96f052fd?source=rss----38998a53046f---4>)

Author: Conor Worthington

Published: 2026-08-11T11:01:02Z

Content type: article

Language: en

Sources: [Expedia](<https://devfeed.tech/sources/expedia.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [it modernization](<https://devfeed.tech/topics/it-modernization.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backends](<https://devfeed.tech/tags/backends.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [faster](<https://devfeed.tech/tags/faster.md>), [inference](<https://devfeed.tech/tags/inference.md>), [keras](<https://devfeed.tech/tags/keras.md>), [latency](<https://devfeed.tech/tags/latency.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model-training](<https://devfeed.tech/tags/model-training.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [rewrite](<https://devfeed.tech/tags/rewrite.md>), [separate](<https://devfeed.tech/tags/separate.md>), [serve](<https://devfeed.tech/tags/serve.md>), [stack](<https://devfeed.tech/tags/stack.md>)

### AI overview

Expedia Group used its Keras 3 migration to modernise lodging ranking: training became 30% faster on a representative model, and P99 inference latency fell substantially. The team made training components Keras 3 native and XLA safe, then separated string-heavy preprocessing, which remains in TensorFlow, from the numeric neural network. ONNX Runtime and TensorRT optimize the model graph for serving through Triton; TensorRT adds NVIDIA GPU compilation and FP16 execution. In simulations, FP16 ranking overlap exceeded 99% versus the higher-precision baseline. The article also reports 75% faster dataset writing, multi-GPU training, and an end-to-end latency comparison where the old P50 became the new P99; TensorRT FP16 P50 reached 10% of the old TF-Serving P99. Existing bundled TF-Serving remains supported.

### Source excerpt

Expedia Group Technology -- DataWhat happened when we treated a framework migration as an architecture modernisation -- and cut P99 inference latency by two-thirdsSt Paul's and millennium bridge, London Expedia Group™ has always been a market leader in providing personalised search experiences for travellers. As our ranking models evolved, we saw an opportunity not just to migrate to Keras 3, but to modernise the broader stack around it so we can better serve travellers. This led us to rewrite key parts of our pipelines that made model training 30% faster and cut P99 inference latency by two-thirds. Our main focus in this blog is to discuss our improvements to lodging ranking -- our service which handles users' search requests and returns a personalised property ranking on top of a lightweight candidate generator. This service is frequently retrained to improve customer experience as we get new signals over time. Example of personalised lodging ranking on Expedia search result page for a London search As such, our velocity to make changes needs to be fast, but more importantly we need to be able to build models which are state-of-the-art, enabling customers to easily find and book the most relevant property for their trip. The problem with Keras 2, eager training and combined serving The challenge was not that the old stack was broken. It was that it had gradually become a limiting factor. On the training side, we were carrying dependencies on older components and missing out on modern Keras APIs, new optimisers, new layers and cleaner support for accelerator-oriented training. On the serving side, we had a path that was simple and operationally familiar, but not especially well suited to aggressively optimised inference for heavier ranking architectures. This blockage on utilising new layers and optimisers has become more pronounced as LLMs see blistering amounts of innovation. Naturally, these new features are only available in Keras 3 or as separate backends from ou

## Gesture Recognition Based on TFLite

DevFeed: [Gesture Recognition Based on TFLite](<https://devfeed.tech/articles/gesture-recognition-based-on-tflite-13765.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2026/04/gesture-recognition-based-on-tflite/>)

Author: John Lee

Published: 2026-04-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [LiteRT](<https://devfeed.tech/topics/litert.md>), [Espressif](<https://devfeed.tech/topics/espressif.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [blog](<https://devfeed.tech/tags/blog.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [development-board](<https://devfeed.tech/tags/development-board.md>), [edge-ai](<https://devfeed.tech/tags/edge-ai.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [espressif](<https://devfeed.tech/tags/espressif.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [inference](<https://devfeed.tech/tags/inference.md>), [keras](<https://devfeed.tech/tags/keras.md>), [model-deployment](<https://devfeed.tech/tags/model-deployment.md>), [model-training](<https://devfeed.tech/tags/model-training.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>)

### AI overview

This tutorial demonstrates gesture recognition on Espressif SoCs using TensorFlow Lite Micro. It covers data collection, model training, conversion for TFLite Micro, and deployment with C++ code for model loading, preprocessing, and inference.

### Source excerpt

This article demonstrates how to implement gesture recognition using TensorFlow Lite Micro on Espressif SoCs. It covers the complete workflow from data collection and model training to model deployment, showcasing TensorFlow Lite Micro's applications in edge AI.

## What's new in TensorFlow 2.19

DevFeed: [What's new in TensorFlow 2.19](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-19-7421.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2025/03/whats-new-in-tensorflow-2-19.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2025-03-13T16:00:00Z

Content type: release

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [releases](<https://devfeed.tech/topics/releases.md>), [API](<https://devfeed.tech/topics/api.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [api](<https://devfeed.tech/tags/api.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [keras](<https://devfeed.tech/tags/keras.md>), [libentensorflow](<https://devfeed.tech/tags/libentensorflow.md>), [litert](<https://devfeed.tech/tags/litert.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>), [tensorflowlite](<https://devfeed.tech/tags/tensorflowlite.md>)

### AI overview

TensorFlow 2.19 introduces C++ API changes in LiteRT, adds bfloat16 support for the tflite casting operation, and deprecates tf.lite.Interpreter in favor of ai_edge_litert.interpreter. The release also stops publishing libtensorflow packages, although they remain extractable from the PyPI package. Updates for multi-backend Keras are directed to keras.io.

### Source excerpt

Posted by the TensorFlow team TensorFlow 2.19 has been released! Highlights of this release include changes to the C++ API in LiteRT, bfloat16 support for tflite casting, discontinue of releasing libtensorflow packages. Learn more by reading the full release notes. Note: Release updates on the new multi-backend Keras will be published on keras.io, starting with Keras 3.0. For more information, please see https://keras.io/keras_3/. TensorFlow Core LiteRT The public constants tflite::Interpreter:kTensorsReservedCapacity and tflite::Interpreter:kTensorsCapacityHeadroom are now const references, rather than constexpr compile-time constants. (This is to enable better API compatibility for TFLite in Play services while preserving the implementation flexibility to change the values of these constants in the future.) TF-Lite tfl.Cast op is now supporting bfloat16 in the runtime kernel. tf.lite.Interpreter gives a deprecation warning redirecting to its new location at ai_edge_litert.interpreter, as the API tf.lite.Interpreter will be deleted in TF 2.20. See the migration guide for details. Libtensorflow We have stopped publishing libtensorflow packages but it can still be unpacked from the PyPI package.

## "Llama 3.2 in Keras"

DevFeed: ["Llama 3.2 in Keras"](<https://devfeed.tech/articles/llama-3-2-in-keras-7302.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/keras-llama-32>)

Author: Martin Görner

Published: 2024-10-21T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [Keras](<https://devfeed.tech/topics/keras.md>), [llama](<https://devfeed.tech/topics/llama.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [keras](<https://devfeed.tech/tags/keras.md>), [llama3](<https://devfeed.tech/tags/llama3.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>), [training](<https://devfeed.tech/tags/training.md>), [transformers](<https://devfeed.tech/tags/transformers.md>)

### AI overview

The article introduces Llama 3.2 support in Keras, explaining that Hugging Face checkpoints can be loaded directly and converted on the fly when needed. It also describes Keras and keras-hub support for multiple backends, pretrained models, tokenization, preprocessing, training, and fine-tuning.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## Announcing New Hugging Face and KerasHub integration

DevFeed: [Announcing New Hugging Face and KerasHub integration](<https://devfeed.tech/articles/announcing-new-hugging-face-and-kerashub-integration-7301.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/keras-hub-integration>)

Author: Aritra Roy Gosthipaty

Published: 2024-07-10T00:00:00Z

Content type: news

Language: en

Sources: [Hugging Face](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [llama](<https://devfeed.tech/topics/llama.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [gemma](<https://devfeed.tech/tags/gemma.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [json](<https://devfeed.tech/tags/json.md>), [keras](<https://devfeed.tech/tags/keras.md>), [llama](<https://devfeed.tech/tags/llama.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-collab](<https://devfeed.tech/tags/open-source-collab.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [transformers](<https://devfeed.tech/tags/transformers.md>)

### AI overview

The article announces an integration between Hugging Face Transformers and KerasHub through a shared model save format. It allows KerasHub users to load many Transformers checkpoints, initially including Gemma, Llama 3, and PaliGemma, and use them with TensorFlow, JAX, or PyTorch backends. The integration handles conversion of configuration variables, weight names, and tokenizer vocabularies internally.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## What's new in TensorFlow 2.16

DevFeed: [What's new in TensorFlow 2.16](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-16-7408.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2024/03/whats-new-in-tensorflow-216.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2024-03-13T20:11:00Z

Content type: release

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [pip](<https://devfeed.tech/topics/pip.md>), [Python](<https://devfeed.tech/topics/python.md>), [MSVC](<https://devfeed.tech/topics/msvc.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [estimator](<https://devfeed.tech/tags/estimator.md>), [keras](<https://devfeed.tech/tags/keras.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [python](<https://devfeed.tech/tags/python.md>), [release](<https://devfeed.tech/tags/release.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

TensorFlow 2.16 introduces Clang as the default compiler for TensorFlow CPU wheels on Windows, makes Keras 3 the default Keras version, and adds Python 3.12 support. The release also removes the tf.estimator API and changes the recommended installation method for Apple Silicon.

### Source excerpt

Posted by the TensorFlow team TensorFlow 2.16 has been released! Highlights of this release (and 2.15) include Clang as default compiler for building TensorFlow CPU wheels on Windows, Keras 3 as default version, support for Python 3.12, and much more! For the full release note, please click here. Note: Release updates on the new multi-backend Keras will be published on keras.io starting with Keras 3.0. For more information, please see https://keras.io/keras_3/. TensorFlow Core Clang 17 Clang is now the preferred compiler to build TensorFlow CPU wheels on the Windows Platform starting with this release. The currently supported version is LLVM/clang 17. The official Wheels-published on PyPI will be based on Clang; however, users retain the option to build wheels using the MSVC compiler following the steps mentioned, as has been the case before. Intel owned the implementation and delivery of this change within the 3P Official Build program. Keras 3 Keras 3 will be the default Keras version for TensorFlow 2.16 onwards. You may need to update your script to use Keras 3. Please refer to the new Keras documentation for Keras 3 (https://keras.io/keras_3). Keras 2 will continue to be released alongside TensorFlow as tf_keras. To continue using Keras 2 with TensorFlow 2.16+: Install tf-keras vía pip install tf-keras~=2.16 Switch tf.keras to use Keras 2 (tf-keras), by setting environment variable TF_USE_LEGACY_KERAS=1 directly or in your Python program by doing import os;os.environ["TF_USE_LEGACY_KERAS"]="1". Please note that this needs to be set before importing TensorFlow and will set it for all packages in your Python runtime program. Estimator API tf.estimator API is removed. If you need to use the estimator API, you need to use TF 2.15 or an earlier version. Apple Silicon If you previously installed TensorFlow using pip install tensorflow-macos, please update your installation method. Use pip install tensorflow from now on. tensorflow-macos package will no longer receive

## What's new in TensorFlow 2.13 and Keras 2.13?

DevFeed: [What's new in TensorFlow 2.13 and Keras 2.13?](<https://devfeed.tech/articles/what-s-new-in-tensorflow-2-13-and-keras-2-13-7377.md>)

Original publisher: [Read original article](<https://blog.tensorflow.org/2023/07/whats-new-in-tensorflow-213-and-keras-213.html>)

Author: TensorFlow Blog (noreply@blogger.com)

Published: 2023-07-25T16:00:00Z

Content type: release

Language: en

Sources: [The TensorFlow Blog](<https://devfeed.tech/sources/the-tensorflow-blog.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [google](<https://devfeed.tech/tags/google.md>), [keras](<https://devfeed.tech/tags/keras.md>), [mac](<https://devfeed.tech/tags/mac.md>), [python](<https://devfeed.tech/tags/python.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [release](<https://devfeed.tech/tags/release.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>), [tensorflow-core](<https://devfeed.tech/tags/tensorflow-core.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>), [usability](<https://devfeed.tech/tags/usability.md>)

### AI overview

TensorFlow 2.13 and Keras 2.13 introduce Apple Silicon wheels, make the Keras V3 format the default for .keras files, and add improvements to TensorFlow Lite, tf.data, dataset padding, and CPU BF16 execution.

### Source excerpt

Posted by the TensorFlow and Keras Teams TensorFlow 2.13 and Keras 2.13 have been released! Highlights of this release include publishing Apple Silicon wheels, the new Keras V3 format being default for .keras extension files and many more! TensorFlow Core Apple Silicon wheels for TensorFlow TensorFlow 2.13 is the first version to provide Apple Silicon wheels, which means when you install TensorFlow on an Apple Silicon Mac, you will be able to use the latest version of TensorFlow. The nightly builds for Apple Silicon wheels were released in March 2023 and this new support will enable more fine-grained testing, thanks to technical collaboration between Apple, MacStadium, and Google. tf.lite The Python TensorFlow Lite Interpreter bindings now have an option to use experimental_disable_delegate_clustering flag to turn-off delegate clustering during delegate graph partitioning phase. You can set this flag in TensorFlow Lite interpreter Python API interpreter = new Interpreter(file_of_a_tensorflowlite_model, experimental_preserve_all_tensors=False) The flag is set to False by default. This is an advanced feature in experimental that is designed for people who insert explicit control dependencies via with tf.control_dependencies() or need to change graph execution order. Besides, there are several operator improvements in TensorFlow Lite in 2.13 add operation now supports broadcasting up to 6 dimensions. This will remove explicit broadcast ops from many models. The new implementation is also much faster than the current one which calculates the entire index for both inputs the the input instead of only calculating the part that changes. Improve the coverage for 16x8 quantization by enabling int16x8 ops for exp, mirror_pad, space_to_batch_nd, batch_to_space_nd Increase the coverage of integer data types enabled int16 for less, greater_than, equal, bitcast, bitwise_xor, right_shift, top_k, mul, and int16 indices for gather and gather_nd enabled int8 for floor_div and floor_m

## Machine Learning and Bathtubs - How Small Visual Changes Improve User Experience

DevFeed: [Machine Learning and Bathtubs - How Small Visual Changes Improve User Experience](<https://devfeed.tech/articles/machine-learning-and-bathtubs-how-small-visual-changes-improve-user-experience-27975.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2019-08-21-spajourneywithimageconcepts/>)

Author: Sayon Kumar Saha

Published: 2019-08-21T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>), [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [image tagging](<https://devfeed.tech/topics/image-tagging.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>), [Ground truth / benchmark quality](<https://devfeed.tech/topics/ground-truth-benchmark-quality.md>), [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [aws](<https://devfeed.tech/tags/aws.md>), [backpropagation](<https://devfeed.tech/tags/backpropagation.md>), [batch](<https://devfeed.tech/tags/batch.md>), [bias](<https://devfeed.tech/tags/bias.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cnn](<https://devfeed.tech/tags/cnn.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [convolutional-neural-networks](<https://devfeed.tech/tags/convolutional-neural-networks.md>), [data-analysis](<https://devfeed.tech/tags/data-analysis.md>), [data-augmentation](<https://devfeed.tech/tags/data-augmentation.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [data-scientists](<https://devfeed.tech/tags/data-scientists.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [images](<https://devfeed.tech/tags/images.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

### AI overview

trivago built an automated image classifier to show hotel photos that match users' spa and wellness searches. The team defined six labels--Sauna, Pool, Gym, Yoga, Hot-tub and Massage--and assembled 2,000 images per label using public images, hotelier tags and Amazon Mechanical Turk annotations. They fine-tuned five ImageNet-pretrained CNN architectures with data augmentation, selecting VGG16 based on validation and test metrics; precision was prioritized to limit false positives. Bedroom images were often mistaken for Massage, so the team added a Bedroom class, then trained with 10,000 Non-Spa samples and applied rule-based exclusions and class-specific confidence thresholds. Reported average precision and recall were about 85% and 89%. The excerpt says production A/B testing showed greater user engagement before click-out, while acknowledging remaining edge cases and the trade-off involved in tagging a very large inventory.

### Source excerpt

While searching for "Spa and Wellness hotels in Berlin..." I land on trivago. Surprisingly the main images of the hotels exactly reflect the spa concept that I am searching for. It hel...

## Neural network inference pipeline for videos in Tensorflow

DevFeed: [Neural network inference pipeline for videos in Tensorflow](<https://devfeed.tech/articles/neural-network-inference-pipeline-for-videos-in-tensorflow-21537.md>)

Original publisher: [Read original article](<http://lifepluslinux.blogspot.com/2019/08/neural-network-inference-pipeline-for.html>)

Author: Suresh Alse (noreply@blogger.com)

Published: 2019-08-08T18:03:00Z

Content type: tutorial

Language: en

Sources: [Life Plus Linux](<https://devfeed.tech/sources/life-plus-linux.md>)

Topics: [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Keras](<https://devfeed.tech/topics/keras.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [deeplearning](<https://devfeed.tech/tags/deeplearning.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [keras](<https://devfeed.tech/tags/keras.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [tensorflow](<https://devfeed.tech/tags/tensorflow.md>)

### AI overview

A tutorial on building an efficient TensorFlow pipeline for video inference. It describes processing video frames in batches with tf.data.Dataset, parallelizing CPU preprocessing and I/O, and prefetching to keep CPU and GPU work supplied.

### Source excerpt

Just as we saw a huge influx of images in the past decade or so, we are now seeing a lot of videos being produced on social media. The need to understand and moderate videos using machine learning has never been greater. In this post, I will show you how to build an efficient pipeline to processes videos in Tensorflow. For simplicity, let us consider a Resnet50 model pre-trained on Imagenet. Pretty straightforward, using tf.keras.applications Now, let us break it up to see what exactly is happening: We are loading the model with weights. We are reading an image and resizing it to 224x224. Do some preprocessing of the image. Run inference. Do some post processing. If we want to do something similar for large videos, we need to have a pipeline that takes a stream of frames from the video, applies preprocess transformations, run inference of frames, unravel the inferences and apply post processing. We can see that doing all these in a sequence - frame by frame is clearly not the right thing as it is slow and inefficient. In order to tackle this, we will use tf.data.Dataset and run inference in batch. First, lets create a generator that can produce frames from a video: We will use the tf.data.Dataset.from_generator method to create a dataset object out of this. Now let us define a function which does resizing, normalization and other preprocessing steps that are required on a batch of frames. Then, using the batch operation on the dataset created above, create a batch of size 64. Map the preprocess method that we defined onto the batch in parallel on CPU as it is a CPU intensive task. It is important to make sure that I/O is parallelized as much as possible. For best performance, instructions that are well suited for CPU should run on CPU and the ones suited for GPU should run on GPU. Also, If you observe the code above, we are prefetching. What this means is that, before consuming the dataset, a batch of 64 frames are preprocessed and is ready for consumption. By the t

## ThisEmoteDoesNotExist: Training a GAN for Twitch Emotes

DevFeed: [ThisEmoteDoesNotExist: Training a GAN for Twitch Emotes](<https://devfeed.tech/articles/thisemotedoesnotexist-training-a-gan-for-twitch-emotes-20454.md>)

Original publisher: [Read original article](<https://medium.com/twitch-news/thisemotedoesnotexist-training-a-gan-for-twitch-emotes-a742b6354b73?source=rss----3ae745429979--engineering>)

Author: Avery Gnolek

Published: 2019-07-24T22:05:46Z

Content type: article

Language: en

Sources: [Twitch](<https://devfeed.tech/sources/twitch.md>)

Topics: [ai-image-generator](<https://devfeed.tech/topics/ai-image-generator.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [Keras](<https://devfeed.tech/topics/keras.md>), [Tensorflow](<https://devfeed.tech/topics/tensorflow.md>), [Image](<https://devfeed.tech/topics/image.md>), [ImageNet](<https://devfeed.tech/topics/imagenet.md>)

Tags: [dataset](<https://devfeed.tech/tags/dataset.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [gan](<https://devfeed.tech/tags/gan.md>), [keras](<https://devfeed.tech/tags/keras.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [python](<https://devfeed.tech/tags/python.md>), [training](<https://devfeed.tech/tags/training.md>), [twitch](<https://devfeed.tech/tags/twitch.md>)

### AI overview

A GAN's output quality depended heavily on making Twitch's varied emote dataset consistent. The author scraped about two million emotes, but a custom Keras progressive GAN collapsed above 14x14 pixels. A TensorFlow progressive GAN reached 128x128 after 72 hours on a GTX 1070, yet mixed styles produced blurry, inconsistent results. Filtering improved output: the author selected face images, removed duplicates, applied pose, whitespace, size, and color rules, and used text detection and the trained discriminator to find further outliers and duplicates. Separate filters supported cartoon and wide emote datasets. Training on an AWS p3.2xlarge with a V100 cut runtime to about 24 hours, at $3.06 per hour. The account emphasizes inspecting training data and checking configuration, since an accidental mirror augmentation reversed text and dataset duplication over-weighted particular emotes.

### Source excerpt

The idea for this project began when a coworker and I were talking about NVIDIA's photo-realistic generated human faces using StyleGAN and they mentioned "I wish someone made one of those for Twitch emotes." I had always wanted to take some time to learn more about convolution neural networks and was in the middle of a machine learning project for work, so it seemed like trying to build this would be a quick and relevant personal project. The original plan (with my time estimates): Scrape all of the Twitch emote image assets (1 day) Write a progressive growing GAN implementation using Keras as a proof of concept (1 week) Adapt the emote dataset for use with a real research-caliber GAN implementation (1-2 days) Train the GAN on the emote dataset (1 day) 1 . Scrape all of the emote image assets This part of the project was actually quite straightforward. Twitch stores all of the emote images on a CDN using a monotonically increasing numeric emote_id. Each emote is available in three different sizes (1.0, 2.0, 3.0) corresponding to the resolutions of 28x28, 56x56, and 112x112. emoticons/778927/1.0emoticons/778927/2.0emoticons/v1/778927/3.0 I wrote a quick python scraper which would go through ~2 million emote_ids of three different sizes and download the images locally. Even at a modest 200 requests per second, this was able to finish overnight. In fact, I think the limiting factor for the speed of this step was actually writing the image files to my HDD, not the network requests themselves. So far, I was right on track with my time estimate. 2. Write a progressive growing GAN implementation using Keras as a proof of concept As I had no experience with CNNs or deep learning before this project, I wanted to at least attempt to write a progressive growing GAN myself as a way to learn before switching to an existing implementation. As Twitch emotes are not even power of two sizes, it was not possible to exactly replicate the 4x4 pixel to 128x128 pixel growing architecture

[Next page](<https://devfeed.tech/topics/keras.md?cursor=WyIyMDE5LTA3LTI0VDIyOjA1OjQ2KzAwOjAwIiwgImEyMTcyMmQxLWYxNmMtNGNhMi04NjQyLTE4NDBmN2U1MTYzMyJd>)