MCP
NC

Nathan Cooper

35 papers in the library · Same-name authors told apart using DBLP

Papers

30
DU-NO: A Parameter-Efficient Double U-Shaped Neural Operator for Phase-Resolving Wave Modeling
Enrique Hernandez NogueraMd Meftahul FerdausNathan CooperElias IoupMahdi Abdelguerfi
DU-NO is a neural operator for phase-resolving wave modeling that achieves high accuracy with far fewer parameters than existing methods. Its key design attaches lightweight convolutional U-Net branches only at the two shallowest encoder and decoder levels of a multiscale U-shaped Fourier operator, justified by a sampling argument that high-wavenumber content lives only on fine grids. With 3.64M parameters (10.8× fewer than U-FNO), DU-NO improves autoregressive rollout error on a FUNWAVE-TVD benchmark by 14.9% over U-FNO and maintains gains across all frequency bands.
arXivarXiv · · September 10, 2026
0
0
Enhancing Code Understanding for Impact Analysis by Combining Transformers and Program Dependence Graphs
Yanfu YanNathan CooperKevin MoranGabriele BavotaDenys PoshyvanykSteve Rich
Athena is a novel impact analysis approach that combines program dependence graphs with conceptual coupling from deep representation learning, eliminating the need for change histories or execution traces. The authors also construct Alexandria, a large-scale benchmark of 25 open-source projects with fine-grained bug-fix commits. Athena achieves 60.32% mRR, 35.19% mAP, and 81.48% HIT@10, outperforming a simpler baseline by over 9% on all metrics with statistical significance.
arXivarXiv · · July 25, 2026
0
18
Enhanced Atom Capture via Multi-Frequency Magneto-Optical Trapping
Benjamin HoptonAlexander AbbeyDavid JohnsonDaniele BaldoliniMatt OvertonNathan CooperJoseph AzizRichard HowlLucia Hackermuller
By introducing multiple closely spaced optical frequency components into the cooling light of a $^{87}$Rb magneto-optical trap without any additional slowing technique, the steady-state atom number is doubled and the loading rate increased by up to a factor of 4 relative to a single-frequency trap. The method captures up to $1.0(1)\times10^{10}$ atoms with a loading rate of $1.3(2)\times10^{11}\,\mathrm{atoms\,s^{-1}}$ from a thermal background. Numerical simulations reproduce the trend and predict larger gains for bigger traps. This establishes multi-frequency cooling as a practical, scalable route to high-flux cold-atom sources.
arXivarXiv · · April 25, 2026
0
1
Exploiting complex 3D-printed surface structures for portable quantum technologies
Nathan CooperDavid JohnsonBenjamin HoptonMatthew OvertonDavid StuppleAlexandra BratuEdward WilsonJohn RobinsonLaurence ColesManolis PapastavrouLucia Hackermueller
This paper demonstrates that 3D-printed vacuum components with complex surface patterns can significantly enhance gas pumping rates for portable quantum technologies. By applying a non-evaporable getter coating, the patterned surface pumps gas 3.8 times faster than a flat equivalent. Numerical simulations, validated against experiments, predict up to a ten-fold increase for realistic structures. This result directly supports passively-pumped atom interferometers and atomic clocks, while establishing 3D-printing as a versatile tool for controlling high-vacuum gas dynamics.
arXivarXiv · · July 2, 2025
0
2
It's All in The [MASK]: Simple Instruction-Tuning Enables BERT-like Masked Language Models As Generative Classifiers
Benjamin ClaviéNathan CooperBenjamin Warner
ModernBERT-Large-Instruct, a 0.4B-parameter encoder model, uses its masked language modeling head for generative classification instead of task-specific heads. The approach requires no architectural modifications or heavy prompting, yet achieves strong zero-shot performance, outperforming similarly sized LLMs on MMLU and reaching 93% of Llama3-1B's MMLU performance with 60% fewer parameters. This capability depends on contemporary, diverse training data.
arXivarXiv · · February 6, 2025
0
On the Generalizability of Transformer Models to Code Completions of Different Lengths
Nathan CooperRosalia TufanoGabriele BavotaDenys Poshyvanyk
The paper empirically studies whether encoder-decoder transformer models adopted for code completion can generalize to inputs with lengths unseen during training. Testing four encoding schemes (Sinusoidal, xPOS, ALiBi, and T5), the authors find that none succeed: the only safe strategy is to ensure the training set covers all lengths that may appear at inference time. This suggests that training on shorter instances to reduce cost may not preserve performance on longer sequences, even for schemes designed to handle length extrapolation in decoder-only LLMs.
arXivarXiv · · January 9, 2025
0
2
Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inference
Benjamin WarnerAntoine ChaffinBenjamin ClaviéOrion WellerOskar HallströmSaid TaghadouiniAlexis GallagherRaja BiswasFaisal LadhakTom AarsenNathan CooperGriffin Adams  +2
ModernBERT is an encoder-only transformer that brings modern model optimizations to the BERT architecture, achieving a major Pareto improvement. Trained on 2 trillion tokens with a native 8192-token sequence length, it achieves state-of-the-art results across diverse classification and retrieval tasks (including code). It also provides the best speed and memory efficiency among encoders, designed for inference on common GPUs.
arXivarXiv · · December 18, 2024
0
1k+
Rephrasing natural text data with different languages and quality levels for Large Language Model pre-training
Michael PielerMarco BellagenteHannah TeufelDuy PhungNathan CooperJonathan TowPaulo RochaReshinth AdithyanZaid AlyafeaiNikhil PinnaparajuMaksym ZhuravinskyiCarlos Riquelme
This paper extends the rephrasing of natural text for LLM pre-training to a multilingual setting (English, German, Italian, Spanish) using an optimized pipeline based on Oscar subsets of CulturaX. The authors show that gains from rephrased data decrease when the original data quality is higher. They also find that the choice of model family for rephrasing affects performance more than model size, underscoring the need for careful selection before large-scale rephrasing.
arXivarXiv · · October 28, 2024
0
12
Adaptive, symmetry-informed Bayesian metrology for precise quantum technology measurements
Matt OvertonJesús RubioNathan CooperDaniele BaldoliniDavid JohnsonJanet AndersLucia Hackermüller
This paper presents a systematic Bayesian strategy for parameter estimation in the low-data limit that integrates experimental control parameters and natural symmetries. Guided by a Bayesian quantifier of precision gain, the method enables adaptive optimisation for any parameter. In a quantum experiment with ultracold caesium atoms confined in an optical fibre hole, the method achieves a five-fold reduction in fractional variance or, equivalently, a target precision with one-third of the data required by the standard procedure.
arXivarXiv · · October 14, 2024
0
Semantic GUI Scene Learning and Video Alignment for Detecting Duplicate Video-based Bug Reports
Yanfu YanNathan CooperOscar ChaparroKevin MoranDenys Poshyvanyk
JANUS detects duplicate video-based bug reports by aligning GUI video frames with learned semantic scenes. It adapts vision transformers to capture subtle visual and textual patterns on app UI screens, and uses adaptive frame weighting to emphasize typical bug manifestation patterns. Evaluated on 7,290 duplicate detection tasks from 270 videos of 90 Android app bugs, its best configuration achieves 89.8% mRR and 84.7% mAP, outperforming prior work by about 9% with statistical significance.
arXivarXiv · · July 11, 2024
0
20
Additive Manufacturing of functionalised atomic vapour cells for next-generation quantum technologies
Feiran WangNathan CooperYinfeng HeBenjamin HoptonDavid JohnsonPeng ZhaoT. Mark FromholdChristopher J. TuckRichard HagueRicky D. WildmanLyudmila TuryanskaLucia Hackermüller
The paper demonstrates the first 3D-printed glass atomic vapour cell using vat photopolymerisation by digital light processing. This additive manufacturing approach enables intricate internal architectures, overprinting of 2D optoelectronic materials for integrated sensors, surface functionalisation, and in-situ growth of gold nanoparticles to tailor optical properties. The cells achieve an ultra-high vacuum of $2 \times 10^{-9}$ mbar, support Doppler-free spectroscopy, and are used for laser frequency stabilisation, showing the potential of additive manufacturing for compact, integrated quantum-technology components.
arXivarXiv · · June 21, 2024
0
13
Perplexed: Understanding When Large Language Models are Confused
Nathan CooperTorsten Scholak
The paper introduces Perplexed, a library for analyzing token-level perplexity in large language models, and demonstrates its use through a case study on code generation LLMs. The central finding is that the studied models perform worst on syntactically incorrect code and generally struggle more with internal method invocations than external ones. Both Perplexed and the companion tool Codetokenizer are open-sourced.
arXivarXiv · · April 9, 2024
0
21
Stable Code Technical Report
Nikhil PinnaparajuReshinth AdithyanDuy PhungJonathan TowJames BaicoianuAshish DattaMaksym ZhuravinskyiDakota MahanMarco BellagenteCarlos RiquelmeNathan Cooper
Stable Code is a 3B-parameter open-source code language model for general-purpose coding tasks. At its release, it achieves state-of-the-art results among sub-3B models on the Multi-PL benchmark, performing comparably to larger 7B and 15B models. Its instruction-tuned variant, Stable Code Instruct, also leads on MT-Bench coding tasks. The models are released via Hugging Face with quantized checkpoints and throughput measurements on edge devices.
arXivarXiv · · April 1, 2024
0
40
Stable LM 2 1.6B Technical Report
Marco BellagenteJonathan TowDakota MahanDuy PhungMaksym ZhuravinskyiReshinth AdithyanJames BaicoianuBen BrooksNathan CooperAshish DattaMeng LeeEmad Mostaque  +7
Stable LM 2 1.6B is a new open language model released in both base and instruction-tuned versions. Trained on a curated dataset and detailed procedure, it achieves state-of-the-art results among sub-2B parameter models at its release, demonstrated across zero- and few-shot, multilingual, and multi-turn dialogue benchmarks. The authors also provide throughput measurements on edge devices and open-source quantized checkpoints with performance comparisons.
arXivarXiv · · February 27, 2024
0
151
Intelligent Software Tooling for Improving Software Development
Nathan Cooper
This dissertation explores how deep learning (DL) can improve software development by leveraging large unstructured datasets such as open-source code on GitHub and GUI image datasets (RICO, ReDRAW). The central contribution is a systematic investigation of DL techniques applied to tasks like code generation, bug detection, test-case generation, and question answering, demonstrating that the availability of massive training data from software engineering artifacts is key to automating and enhancing development processes.
arXivarXiv · · October 17, 2023
0
0
MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors
Amit Seal AmiSyed Yusuf AhmedRadowan Mahmud RedoyNathan CooperKaushal KafleKevin MoranDenys PoshyvanykAdwait Nadkarni
MASC is a mutation-based tool for evaluating static crypto-API misuse detectors. It defines 12 generalizable, usage-based mutation operators and three scopes (Main, Similarity, Exhaustive) to generate compilable variants of misuse cases. This tool was used to evaluate nine major crypto-detectors, uncovering 19 undocumented flaws. MASC is configurable, user-friendly, and available with both a command-line and a web interface.
arXivarXiv · · August 4, 2023
0
12
Gravitationally-induced entanglement in cold atoms
Richard HowlNathan CooperLucia Hackermüller
The paper proposes testing quantum gravity via gravitationally-induced entanglement (GIE) between two parallel cold-atom interferometers, using correlations in output atom numbers. Unlike previous proposals that rely on macroscopic superposition states like N00N or Schrödinger cat states, GIE can arise with classical-like coherent states, provided the total mass reaches the Planck scale. With current quantum squeezing techniques, the required mass can be reduced to approachable levels, making near-future experimental tests feasible.
arXivarXiv · · April 3, 2023
0
11
Toward a Theory of Causation for Interpreting Neural Code Models
David N. PalacioAlejandro VelascoNathan CooperAlvaro RodriguezKevin MoranDenys Poshyvanyk
This paper introduces $do_{code}$, a post hoc interpretability method for Neural Code Models (NCMs) that explains model predictions through causal inference, grounding explanations in programming language properties. A concrete instantiation focuses on mitigating spurious correlations. A case study on two architectures and ten NCMs reveals that the models are sensitive to syntax changes; most NCMs, except for a BERT-like model, learn to predict code tokens (e.g., brackets, semicolons) with less confounding bias than other constructs. $do_{code}$ shows potential for detecting and reducing confounding bias in NCMs.
arXivarXiv · · February 7, 2023
0
38
Translating Video Recordings of Complex Mobile App UI Gestures into Replayable Scenarios
Carlos Bernal-CárdenasNathan CooperMadeleine HavranekKevin MoranOscar ChaparroDenys PoshyvanykAndrian Marcus
V2S+ is an automated approach that translates video recordings of Android app usage into replayable test scenarios. Using computer vision techniques for object detection and image classification, it detects and classifies user gestures captured in the video. V2S+ works for both native and hybrid Android apps. In an evaluation with 243 videos and 4,028 GUI-based actions from over 90 apps, V2S+ accurately replayed approximately 90.2% of sequential actions in native app scenarios on physical devices and approximately 83% in hybrid app scenarios on emulators, with low overhead. A case study with three industrial partners indicated its potential usefulness from the developers' perspective.
arXivarXiv · · January 3, 2023
0
22
Using Transfer Learning for Code-Related Tasks
Antonio MastropaoloNathan CooperDavid Nader PalacioSimone ScalabrinoDenys PoshyvanykRocco OlivetoGabriele Bavota
This paper evaluates the Text-To-Text Transfer Transformer (T5) model on four code-related tasks: bug-fixing, code-mutant injection, assert-statement generation, and code summarization. It specifically studies how pre-training and multi-task fine-tuning affect performance. The results show that T5 outperforms state-of-the-art baselines, and while pre-training is beneficial, multi-task fine-tuning does not improve all tasks.
arXivarXiv · · June 17, 2022
0
112
An Empirical Study on the Usage of Transformer Models for Code Completion
Matteo CiniselliNathan CooperLuca PascarellaAntonio MastropaoloEmad AghajaniDenys PoshyvanykMassimiliano Di PentaGabriele Bavota
This large-scale empirical study evaluates Transformer-based models, RoBERTa and T5, for code completion at three granularity levels: single tokens, entire statements, and full code blocks. The T5 model achieves perfect predictions ranging from ~29% for entire blocks to ~69% for masked tokens within a single statement, demonstrating that Transformer-based models, especially T5, are viable for more challenging code completion tasks beyond next-token prediction.
arXivarXiv · · August 3, 2021
0
158
Mutation-based Evaluation of Cryptographic API Misuse Detectors
Amit Seal AmiNathan CooperKaushal KafleKevin MoranDenys PoshyvanykAdwait NadkarniScott Marsden
The MASC framework uses mutation testing to evaluate crypto-API misuse detectors. It provides a taxonomy of 107 misuse cases across nine semantic clusters, 19 usage-based mutation operators, and three scopes that generate compilable variants. Evaluating nine major detectors revealed 19 undocumented flaws. An extended study of 14 detectors found six new flaws affecting detectors from open-source, industry, and research origins, highlighting the need for security-focused design.
arXivarXiv · · July 15, 2021
0
1
An Empirical Study on the Usage of BERT Models for Code Completion
Matteo CiniselliNathan CooperLuca PascarellaDenys PoshyvanykMassimiliano Di PentaGabriele Bavota
This empirical study evaluates BERT-based models for code completion at multiple granularity levels: single tokens, entire statements, and full code blocks (e.g., a for-loop body). The authors adapt and test several RoBERTa variants, assessing predictions via BLEU score, Levenshtein distance, percentage of perfect predictions, and semantic equivalence. Results show that BERT models are viable, achieving perfect prediction rates from ~7% for entire blocks up to ~58% for masked tokens within a single statement.
arXivarXiv · · March 12, 2021
0
129
V2S: A Tool for Translating Video Recordings of Mobile App Usages into Replayable Scenarios
Madeleine HavranekCarlos Bernal-CárdenasNathan CooperOscar ChaparroDenys PoshyvnaykKevin Moran
Video2Scenario (V2S) is an automated tool that processes screen recordings of Android app usage, using neural object detection and image classification to identify user actions and translate them into replayable scenarios. Evaluated on 175 videos containing 3,534 GUI-based actions, V2S accurately reproduces approximately 89% of the actions across a range of devices and applications.
arXivarXiv · · March 8, 2021
0
21
Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Tasks
Antonio MastropaoloSimone ScalabrinoNathan CooperDavid Nader PalacioDenys PoshyvanykRocco OlivetoGabriele Bavota
This paper empirically investigates how the Text-To-Text Transfer Transformer (T5) architecture performs on code-related tasks after pre-training on a dataset combining natural language English text and source code. The single model is fine-tuned separately for bug fixing, code mutant injection, assert statement generation, and code comment generation. Compared with the four original deep-learning baselines, the T5 model achieves performance improvements on all four tasks, demonstrating the benefit of the additional pre-training data.
arXivarXiv · · February 3, 2021
0
408
It Takes Two to Tango: Combining Visual and Textual Information for Detecting Duplicate Video-Based Bug Reports
Nathan CooperCarlos Bernal-CárdenasOscar ChaparroKevin MoranDenys Poshyvanyk
This paper presents Tango, a technique for detecting duplicate video-based bug reports by combining visual and textual information. Tango uses tailored computer vision, optical character recognition, and text retrieval to analyze screen-recordings, which are challenging for existing duplicate detection methods due to their graphical nature. In an empirical evaluation with 4,860 duplicate detection tasks involving 180 screen-recordings from six Android apps, Tango's optimal configuration ranked target duplicate videos in the top-2 results in 83% of tasks. A user study showed that Tango can reduce developer effort by over 60%.
arXivarXiv · · January 22, 2021
0
88
A Systematic Literature Review on the Use of Deep Learning in Software Engineering Research
Cody WatsonNathan CooperDavid Nader PalacioKevin MoranDenys Poshyvanyk
This systematic literature review examines 128 papers on deep learning (DL) in software engineering (SE) from prominent SE and DL venues, covering 23 SE tasks. The analysis uses the components of learning—principles guiding ML application—to detail how DL's automated feature engineering aids SE automation. The main contribution is a research roadmap that delineates DL foundations in SE and highlights future research opportunities, clarifying current successes and failures in this crosscutting area.
arXivarXiv · · September 14, 2020
0
235
Translating Video Recordings of Mobile App Usages into Replayable Scenarios
Carlos Bernal-CárdenasNathan CooperKevin MoranOscar ChaparroAndrian MarcusDenys Poshyvanyk
The paper introduces V2S, a lightweight automated approach that translates video recordings of Android app usages into replayable test scenarios. V2S uses computer vision, object detection, and image classification to detect and classify user actions from screen recordings. Evaluated on 175 videos with 3,534 GUI actions from over 80 popular apps, V2S accurately replays scenarios and reproduces ≈89% of videos with minimal overhead. A case study with three industrial partners indicates its practical usefulness for developers.
arXivarXiv · · May 18, 2020
0
101
Composite pulses for interferometry in a thermal cold atom cloud
Alexander DunningRachel GregoryJames BatemanNathan CooperMatthew HimsworthJonathan A. JonesTim Freegarde
Composite pulse sequences reduce the inversion infidelity of velocity-sensitive Raman transitions in a freely expanding thermal cloud of 80 micro-Kelvin atoms by half, compared to a single pulse. The agreement between measured and predicted state evolution confirms that the underlying coherence of the ensemble is preserved, demonstrating that composite pulses are a practical error-correction technique for atom interferometry.
arXivarXiv · · June 11, 2014
0
108
Extended Wigner function formalism for the spatial propagation of particles with internal degrees of freedom
Marcel UtzMalcolm H LevittNathan CooperHendrik Ulbricht
This paper extends the Wigner function formalism to particles with internal degrees of freedom in spatially inhomogeneous fields. The central contribution is a unified framework that simultaneously describes external spatial dynamics and internal state evolution, enabling direct visualization of space-spin entanglement and decoherence. The approach is validated through quantitative simulations of Stern-Gerlach and Rabi experiments, demonstrating its practical utility for molecular beam physics.
arXivarXiv · · May 8, 2014
0
Frequent collaborators
Denys Poshyvanyk (14)
Kevin Moran (10)
Gabriele Bavota (6)
Oscar Chaparro (5)
David Johnson (4)
Carlos Bernal-Cárdenas (4)
Tim Freegarde (4)
Benjamin Hopton (3)
Marco Bellagente (3)
Duy Phung (3)
Jonathan Tow (3)
Reshinth Adithyan (3)