mlsanityData to 7 Oct 2026

LambdaNet: Probabilistic Type Inference using Graph Neural Networks

arXiv 2005.02161 ↗First posted 29 Apr 2020cs.PL cs.LG stat.MLcited by 44

Not on the map. Why?

Abstract (arXiv)

As gradual typing becomes increasingly popular in languages like Python and TypeScript, there is a growing need to infer type annotations automatically. While type annotations help with tasks like code completion and static error catching, these annotations cannot be fully determined by compilers and are tedious to annotate by hand. This paper proposes a probabilistic type inference scheme for TypeScript based on a graph neural network. Our approach first uses lightweight source code analysis to generate a program abstraction called a type dependency graph, which links type variables with logical constraints as well as name and usage information. Given this program abstraction, we then use a graph neural network to propagate information between related type variables and eventually make type predictions. Our neural architecture can predict both standard types, like number or string, as well as user-defined types that have not been encountered during training. Our experimental results show that our approach outperforms prior work in this space by 14% (absolute) on library types, while having the ability to make type predictions that are out of scope for existing techniques.

Key facts. Cited by 44 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 14; 2022: 14; 2023: 11; 2024: 1; 2025: 3; 2026: 1.

44 papers.

Sort:

By area:

  1. 2021Program Synthesis with Large Language Modelscited by 3,509
  2. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  3. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  4. 2021Scaling Up Graph Neural Networks Via Graph Coarseningcited by 80
  5. 2021Universal Approximation of Functions on Setscited by 62
  6. 2021Self-Supervised Bug Detection and Repaircited by 59
  7. 2022Code Generation Tools (Almost) for Free? A Study of Few-Shot, Pre-Trained Language Models on Codecited by 39
  8. 2022What is it like to program with artificial intelligence?cited by 39
  9. 2021What do pre-trained code models know about code?cited by 36
  10. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  11. 2021Type4Py: Practical Deep Similarity Learning-Based Type Inference for Pythoncited by 19
  12. 2021Bridging the Gap between Spatial and Spectral Domains: A Unified Framework for Graph Neural Networkscited by 18
32 more
  1. 2022On Distribution Shift in Learning-based Bug Detectorscited by 15
  2. 2023TypeT5: Seq2seq Type Inference using Static Analysiscited by 12
  3. 2022CodeQueries: A Dataset of Semantic Queries over Codecited by 11
  4. 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
  5. 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
  6. 2021Generalized Equivariance and Preferential Labeling for GNN Node Classificationcited by 7
  7. 2023LExecutor: Learning-Guided Executioncited by 7
  8. 2023Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Studycited by 7
  9. 2023On the Opportunities of Green Computing: A Surveycited by 7
  10. 2023Type Prediction With Program Decomposition and Fill-in-the-Type Trainingcited by 6
  11. 2024Understanding How CodeLLMs (Mis)Predict Types with Activation Steeringcited by 4
  12. 2021Cross-Lingual Transfer Learning for Statistical Type Inferencecited by 2
  13. 2022JEMMA: An Extensible Java Dataset for ML4Code Applicationscited by 2
  14. 2021WheaCha: A Method for Explaining the Predictions of Models of Codecited by 1
  15. 2022Unveiling Project-Specific Bias in Neural Code Modelscited by 1
  16. 2022Exploring Representation of Horn Clauses using GNNs (Extended Technical Report)cited by 1
  17. 2022Cross-Domain Evaluation of a Deep Learning-Based Type Inference Systemcited by 1
  18. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
  19. 2021Report of the Workshop on Program Synthesis for Scientific Computingcited by 0
  20. 2021SINGA-Easy: An Easy-to-Use Framework for MultiModal Analysiscited by 0
  21. 2021VisualTextRank: Unsupervised Graph-based Content Extraction for Automating Ad Text to Image Searchcited by 0
  22. 2021Text is NOT Enough: Integrating Visual Impressions into Open-domain Dialogue Generationcited by 0
  23. 2022Discovering Personalized Semantics for Soft Attributes in Recommender Systems using Concept Activation Vectorscited by 0
  24. 2022Reinforced MOOCs Concept Recommendation in Heterogeneous Information Networkscited by 0
  25. 2022Explanation-Guided Fairness Testing through Genetic Algorithmcited by 0
  26. 2022Using Graph Neural Networks for Program Terminationcited by 0
  27. 2023Tribe or Not? Critical Inspection of Group Differences Using TribalGramcited by 0
  28. 2023NPS: A Framework for Accurate Program Sampling Using Graph Neural Networkcited by 0
  29. 2023Learning Type Inference for Enhanced Dataflow Analysiscited by 0
  30. 2025TypyBench: Evaluating LLM Type Inference for Untyped Python Repositoriescited by 0
  31. 2025Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Predictioncited by 0
  32. 2026PLMGH: What Matters in PLM-GNN Hybrids for Code Classification and Vulnerability Detectioncited by 0